﻿@{
    Layout = null;
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@CMS.Common.Helpers.WebHelper.TrimStringForTitle(@ViewBag.Title + @Html.Action("SettingByName", "FESetting", new { SettingName = "title" }))</title>
    <meta name="Keywords" content="@CMS.Common.Helpers.WebHelper.TrimStringForTitle(Html.Action("SettingByName", "FESetting", new { SettingName = "keywords" }).ToString() + " , " + ViewBag.Keywords)" />
    <meta name="Description" content="@CMS.Common.Helpers.WebHelper.TrimStringForTitle(Html.Action("SettingByName", "FESetting", new { SettingName = "Description" }).ToString()+" - "+ViewBag.Description)" />

   
    <link href="@Url.Content("~/Content/css/stylesheets.css")" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/css/fullcalendar.print.css")" media="print" />
    <script src="@Url.Content("~/Content/js/jquery.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/js/jquery-ui.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/jquery/jquery.mousewheel.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/cookie/jquery.cookies.2.2.0.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/bootstrap.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/charts/jquery.flot.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/charts/jquery.flot.stack.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/charts/jquery.flot.pie.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/charts/jquery.flot.resize.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/sparklines/jquery.sparkline.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/fullcalendar/fullcalendar.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/select2/select2.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/uniform/uniform.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/maskedinput/jquery.maskedinput-1.3.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/validation/languages/jquery.validationEngine-en.js")" charset="utf-8"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/validation/jquery.validationEngine.js")" charset="utf-8"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/mcustomscrollbar/jquery.mCustomScrollbar.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/animatedprogressbar/animated_progressbar.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/qtip/jquery.qtip-1.0.0-rc3.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/pnotify/jquery.pnotify.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/cleditor/jquery.cleditor.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/dataTables/jquery.dataTables.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/fancybox/jquery.fancybox.pack.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins/datetimepicker/jquery-ui-timepicker-addon.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/cookies.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/actions.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/charts.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/plugins.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/fileuploader.js")"></script>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/css/fileuploader.css")"/>
    <script type="text/javascript" src="@Url.Content("~/Content/ckeditor/ckeditor.js")" ></script>
    <link href="../../Content/css/select2.css" rel="stylesheet" />
     <link href="/Content/css/remsigns/main.css" rel="stylesheet" />
    <link href="/Content/css/remsigns/styles.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Content/js/remsigns/rem.js"></script>

</head>

<body >
    <div id="wrappeer">
        <div id="header">
            @if (!User.Identity.IsAuthenticated)
            {
            <div class="login" style="position:relative; text-align:right; color:#fff">
                <span style="display:inline-block"><i class="isw-left" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="@Url.Action("Logon", "Home")">Login</a></span>

                 <span style="display:inline-block"><i class="isw-unlock" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="@Url.Action("ForgotPassword", "Home")">Forgot Password</a></span>
                
                <span style="display:inline-block"><i class="isw-edit" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="@Url.Action("Register", "Home")">Register</a></span>                                                                                 
            </div>
            }
            else
            {
            <div class="login" style="position:relative; text-align:right; color:#fff">
                 @if (User.IsInRole("Administrator"))
                 { 
                    <span style="display:inline-block"><i class="isw-settings" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="/Administration">Administration</a></span>
                 }
                <span style="display:inline-block"><i class="isw-user" style="padding:0 5px; margin-top:3px"></i><strong>@User.Identity.Name</strong></span>
                <span style="display:inline-block"><i class="isw-list" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="@Url.Action("Dashboard", "Home")">Dashboard</a></span>
                
                 <span style="display:inline-block"><i class="isw-text_document" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="@Url.Action("Index", "Order")">My Order</a></span>
                 <span style="display:inline-block"><i class="isw-right" style="padding:0 5px; margin-top:3px"></i><a style="color:#fff" href="@Url.Action("LogOff", "Home")">LogOut</a></span>                                         </div>
            }
                
            <div id="logo">
                <a href="/">
                    <img src="../../Content/img/remsigns/images/logo.jpg" width="246" height="132" />
                </a>
            </div>

            <div id="phrase"><strong><em>@Html.Action("SettingByName", "FESetting", new { SettingName = "headline" })</em></strong></div>
            <div id="social">
                <div id="socialic">
                    <div align="right">

                    </div>
                </div>
                <div id="phonenum">
                    @Html.Action("SettingByName", "FESetting", new { SettingName = "hotline" })
                </div>
            </div>
        </div>
        <div id="nav">
             @Html.Action("Index", "Navigation")
        </div>
        <div id="huge_slider">
            <div id="contents">
               <div id="contents2" style="min-height: 300px;">
        <div class="header">
        <a class="logo" href="#" style="color:#fff">CLIENT PROFILE</a>
    </div>
    <div class="menu">
        <div class="breadLine">
            <div class="arrow">
            </div>
            <div class="adminControl active">
                Hi, @User.Identity.Name
            </div>
        </div>
        <div class="admin">
            <div class="image">
                <img src="@Url.Content("~/Content/img/users/user.png")" class="img-polaroid" alt=""/>
            </div>
            <ul class="control">
                <li><span class="icon-comment"></span><a target="_blank" href="@Url.Action("Index", "Home", new { area = "" })">
                    Visit website</a></li>
                <li><span class="icon-cog"></span><a href="@Url.Action("ProfileAccount", "Home")">Profile</a></li>
                <li><span class="icon-share-alt"></span><a href="@Url.Action("LogOff", "Home")">
                    Logout</a></li>
            </ul>
            <div class="info">
                <span></span>
            </div>
        </div>
        <ul class="navigation">
            <li><a href="@Url.Action("Dashboard", "Home")"><span class="isw-grid"></span><span
                class="text">Dashboard</span> </a></li>
            <li><a href="@Url.Action("Add", "Order")"><span class="isw-plus"></span><span
                class="text">New Order</span> </a></li>
            <li><a href="@Url.Action("Index", "Order")"><span class="isw-list"></span><span class="text">My Orders</span> </a>
            </li>                    
        </ul>
        <div class="dr">
            <span></span>
        </div>
    </div>
    <div class="content">

        <div class="workplace">
           @RenderBody()
        </div>
    </div>
     <div class="clear"></div>


    

</div>
             </div>
        </div>

    </div>
    <div id="footer">
        <div id="cerrojo">
            <div id="cerr1">
                @Html.Action("TopicBySystemWithTitle", "Topic", new { systemname = "contactus", show_title = true })
            </div>
            <div id="cerr2">
                <p>@Html.Action("FooterMenu", "Navigation")</p>
                <p>@Html.Action("SettingByName", "FESetting", new { SettingName = "Copyright" })</p>
            </div>
            <div id="cerr3">
                <div align="center">
                                 @Html.Action("TopicBySystemWithTitle", "Topic", new { systemname = "social", show_title = false })
                </div>
            </div>


        </div>




    </div>

    <div class="loading-box" style="position:fixed; top:30%; left:50%; background:#333; padding:20px; border-radius:5px;opacity:0.8; display:none">
        <img src="../../Content/img/loaders/c_loader_bw.gif" title="c_loader_bw.gif">
    </div>
</body>
</html>
